package com.zs.admin.validate.wisdbook;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.zs.common.validator.annotation.IDMust;

/**
 * 智书参数
 * @author SwAdmin
 */
@Data
@ApiModel("智书更新参数")
public class WisdbookUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @ApiModelProperty(value = "书名")
    private String name;

    @ApiModelProperty(value = "年级")
    private Integer grade;

    @ApiModelProperty(value = "科目")
    private Integer subject;

    @ApiModelProperty(value = "学段")
    private Integer section;

    @ApiModelProperty(value = "教材版本")
    private Integer edition;

    @ApiModelProperty(value = "分册：0默认 1上册 2下册 3全一册")
    private Integer volume;


    @ApiModelProperty(value = "pdf存放地址")
    private String pdfUrl;

    @ApiModelProperty(value = "封面图地址")
    private String cover;

    @ApiModelProperty(value = "")
    private Integer markStatus;

    @ApiModelProperty(value = "pid")
    private Integer pid;

}
